home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac Format 2004 Junue - Disc 1
/
MacFormat 143 CD1.iso
/
Serious Software
/
RealCADD3.05.sit
/
RealCADD3.05
/
scripts
/
circlebycenter
< prev
next >
Wrap
Text File
|
2003-04-07
|
312b
|
35 lines
RCAD script
1.00
circlebycenter
circlebycenterup
circlebycenterdown
0
0
1
Dim s_dx, s_dy, s_rayon as double
s_dx = lastx - firstx
s_dy = lasty - firsty
s_rayon = sqrt(s_dx * s_dx + s_dy * s_dy)
Add_Oval(firstx - s_rayon, firsty - s_rayon, firstx + s_rayon, firsty + s_rayon, 0.75,7,0,false)